package com.demo.config;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * AccessService
 *
 * @author liujin
 * @date 2020/12/7 23:35
 */
public interface AccessService {

    boolean hasPermission(HttpServletRequest request, Authentication authentication);
}
